package com.foreveross.vo;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;



/**
 * Express entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "express_company", catalog = "hrtenement")
public class ExpressCompany implements java.io.Serializable {

	// Fields

	private String id;
	private String name;
	private String sort;
	

	// Constructors

	/** default constructor */
	public ExpressCompany() {
	}

	/** minimal constructor */
	public ExpressCompany(String id) {
		this.id = id;
	}

	/** full constructor */
	public ExpressCompany(String id, String name, String sort) {
		this.id = id;
		this.name = name;
		this.sort = sort;
	}

	// Property accessors
	@Id
	@GenericGenerator(name="idGenerator", strategy="uuid")
	@GeneratedValue(generator="idGenerator") 
	@Column(name = "id", unique = true, nullable = false, length = 32)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "name")
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Column(name = "sort")
	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}	
}